package net.roobook.cms.modules.admin.dao;

import net.roobook.cms.common.dao.BaseMapper;
import net.roobook.cms.modules.admin.entity.Label;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author cos
 * @email 327878610@qq.com
 * @link https://roobook.net
 * @Description 标签Mapper
 * @date 2023/9/26 15:40
 **/
public interface LabelMapper  extends BaseMapper<Label> {
    List<String> queryGroup();

    List<Map<String, String>> queryLabelByGroup(@Param("firstChar") String group);

    int deleteByTagName(String tagName);
}
